# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.shortcuts import render
from django.template import Template,Context
from django.http import HttpResponse
# Create your views here.

def hello(request,hello):
    return HttpResponse('hello python!!'+hello)

def hello_books(request,books_name):
    t = Template(u'<p>welcome to {{books_name}}</p>')
    c = Context({
        'books_name':books_name


    })
    html = t.render(c)
    return HttpResponse(html)
